body{
    background-color: #000;
}
h1,p{
    margin: 0;
    padding: 0;
}

/*媒介查询*/
@media screen and (min-width: 1200px){
   h1{
       color: blue;
   }
    .wrapper{
        width: 1328px;
        margin: 0 auto;
        background-color: coral;
    }
    .header{
        width: 1328px;
        margin: 0 auto;
        background-color: orange;
    }
    .main{
        width: 1328px;
        margin: 0 auto;
    }
    .footer{
        width: 1328px;
        margin: 0 auto;
        background-color: mediumvioletred;
        min-height: 80px;
    }
    .sidebar{
        float: left;
        width: 245px;margin-right: 5px;background-color: yellow;
        min-height: 80px;
    }
    .content{
        float: left;
        width: 1078px;
        background-color: aqua;
        min-height: 600px;
    }
}

@media screen and (min-width: 980px) and (max-width: 1199px){
    h1{
        color: brown;
    }

}
@media screen and (min-width: 768px) and (max-width: 979px) {
    h1 {
        color: darkorange;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    h1 {
        color: darkslateblue;
    }
}

@media screen and (max-width: 479px) {
    h1 {
        color: blueviolet;
    }
}